#include "gtest/gtest.h"
#include "src/base/random.h"

TEST(RandomTest, MTRandomTest) {
  CRuntimeRandom oRandom;
  oRandom.SeedRNG(oRandom.GetTickCount());
  printf("%f\n", oRandom.RandDouble());
  std::cout << oRandom.RandDouble() << std::endl;
}

TEST(RandomTest, MTRandom) {
  MTRandom oRandom;
  oRandom.SeedRNG(oRandom.GetTickCount());
  printf("%f\n", oRandom.RandDouble());
}